package com.itheima.service;

import com.itheima.pojo.User;

import java.util.List;

public interface UserService {
    //增加
    public boolean save(User user);
//修改

    public boolean update(User user);
//删除

    public boolean delete(Integer id);
    //按id查询
    public User getById(Integer id);
//查找所有

    public List<User> getAll();
}
